<?php

use doumiaoduo\layer\LayerConfirmWidget;
use doumiaoduo\layer\LayerIframeWidget;
use common\components\helpers\Fun;
use common\components\extenders\MenuManage;

use doumiaoduo\layer\LayerAsset;

LayerAsset::register($this);

LayerConfirmWidget::widget();
LayerIframeWidget::widget();
?>
<div class="yx-cnt-box yx-praise-content yx-radius2">
    <div class="yx-praise-box">
        <a href="<?= $back_url ?>" class="btn yx-back-list yx-radius5 ">返回上级</a>
        <div class="yx-member-info">
            <h3 class="yx-pb15">客户基本信息:</h3>
            <table class="yx-member-box yx-member-box1" style="width: 800px">
                <tr>
                    <td style="width: 150px">姓名</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['name'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">性别</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['sex'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">加入时间</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['created_at'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">联系方式</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['mobile'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">意向分类</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['category_id'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">负责人</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['admin_id'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">副负责人</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['admin_child_ids'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">跟进负责人</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['salesman_id'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">客户状态</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['status'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">客户成熟度</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['maturity'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">客户来源</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['source'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">获客渠道</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['name'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">是否注册</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['is_customer'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">是否绑定学员</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['is_student'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">是否消费</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['is_buy'])?></td>
                </tr>
                <tr>
                    <td style="width: 150px">备注</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['remark'])?></td>
                </tr>
            </table>
        </div>


    </div>
</div>